github.com/gotd/td/transport.connection.conn (field)

13 uses

	github.com/gotd/td/transport (current package)
		connection.go#L25: 	conn  net.Conn
		connection.go#L38: 	if err := c.conn.SetWriteDeadline(time.Time{}); err != nil {
		connection.go#L42: 		if err := c.conn.SetWriteDeadline(deadline); err != nil {
		connection.go#L47: 	if err := c.codec.Write(c.conn, b); err != nil {
		connection.go#L60: 	if err := c.conn.SetReadDeadline(time.Time{}); err != nil {
		connection.go#L64: 		if err := c.conn.SetReadDeadline(deadline); err != nil {
		connection.go#L69: 	if err := c.codec.Read(c.conn, b); err != nil {
		connection.go#L78: 	return c.conn.Close()
		listener.go#L63: 			conn:  conn,
		listener.go#L75: 		conn: wrappedConn{
		protocol.go#L70: 		conn:  conn,
		protocol.go#L80: 			conn:  p1,
		protocol.go#L83: 			conn:  p2,